package mergeForm

import (
	"github.com/flipped-aurora/gin-vue-admin/server/api/v1"
	"github.com/flipped-aurora/gin-vue-admin/server/middleware"
	"github.com/gin-gonic/gin"
)

type MergeForm_structRouter struct {
}

// InitMergeForm_structRouter 初始化 MergeForm_struct 路由信息
func (s *MergeForm_structRouter) InitMergeForm_structRouter(Router *gin.RouterGroup) {
	MFRouter := Router.Group("MF").Use(middleware.OperationRecord())
	MFRouterWithoutRecord := Router.Group("MF")
	var MFApi = v1.ApiGroupApp.MergeFormApiGroup.MergeForm_structApi
	{
		MFRouter.POST("createMergeForm_struct", MFApi.CreateMergeForm_struct)   // 新建MergeForm_struct
		MFRouter.DELETE("deleteMergeForm_struct", MFApi.DeleteMergeForm_struct) // 删除MergeForm_struct
		MFRouter.DELETE("deleteMergeForm_structByIds", MFApi.DeleteMergeForm_structByIds) // 批量删除MergeForm_struct
		MFRouter.PUT("updateMergeForm_struct", MFApi.UpdateMergeForm_struct)    // 更新MergeForm_struct
	}
	{
		MFRouterWithoutRecord.GET("findMergeForm_struct", MFApi.FindMergeForm_struct)        // 根据ID获取MergeForm_struct
		MFRouterWithoutRecord.GET("getMergeForm_structList", MFApi.GetMergeForm_structList)  // 获取MergeForm_struct列表
	}
}
